import request from '@/utils/api/request.js'

export const UserLogin = (account, password, loginType) => {
    return request({
        url: '/start/userLogin',
        method: 'post',
        data: {
            'account': account,
            'password': password,
            'loginType': loginType,
        }
    })
};

export const UserRegister = (data) => {
    return request({
        url: '/start/userRegister',
        method: 'post',
        data: data,
    })
};


